package com.ostrich.ostrichUserService.param.rider;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;


@Data
public class RegRider {


    private String username;

    private String password;



    @ApiModelProperty(value = "身份证号")
    @NotBlank
    private String identityNumber;

    @ApiModelProperty(value = "手机号")
    @NotBlank
    private String phoneNumber;

    private Integer businessmanId;

    @ApiModelProperty(value = "银行卡号")
    @NotBlank
    private String bankNumber;

}
